import { forwardRef, Module } from '@nestjs/common';
import { PunchService } from './punch.service';
import { PunchController } from './punch.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Punch } from './entities/punch.entity';
import { PunchFood } from '../entities';
import { PointModule } from '../point/point.module';
import { UserModule } from '../user/user.module';
@Module({
  imports: [
    TypeOrmModule.forFeature([Punch, PunchFood]),
    PointModule,
    forwardRef(() => UserModule),
  ],
  controllers: [PunchController],
  providers: [PunchService],
  exports: [PunchService],
})
export class PunchModule {}
